package com.wondersgroup.retrofittest.login.contract;

import com.hss.mvp.BaseMVPPresenter;
import com.hss.mvp.BaseMVPView;
import com.hss.rxjava.bean.Login;
import com.hss.rxjava.result.ResultObject;

import rx.Observable;

/**
 * <b>Project:</b> RetrofitTest<br>
 * <b>Create Date:</b> 2017/2/7 0007<br>
 * <b>Author:</b> huang saisai <br>
 * <b>Description:</b> <br>
 */
public interface ILoginContract {
    public interface View extends BaseMVPView<Presenter> {
        void setLoginName(String name);

        String getLoginPwd();

        String getLoginName();

    }

    public interface Presenter extends BaseMVPPresenter<View> {
        void login(String name, String pwd);
    }



    interface Model {
        public <T> T login(String name, String pwd);

    }


}